<% layout("/WEB-INF/view/console/skins/skin_2/layout.html", {}) {
%>
<div class="row">
    <div class="col-md-12">
        <div class="widget-container fluid-height clearfix">
            <div class="widget-content padded clearfix">
                <div class='row'>
                    <div class='col-md-12'>
                        <form name="boOrderLog_form" id="boOrderLog_form" class='form-inline'>
                            <div class='form-group col-md-3' style='margin-top: 10px;'>
 <label title='日志消息'  >日志消息：</label>
 <input  onkeyup='boOrderLogConsoleGrid.enterToQuery(event);' type='text' class='form-control' id='orderLogMessage' name='orderLogMessage' placeholder=''>
 </div>
 <div class='form-group col-md-3' style='margin-top: 10px;'>
 <label title='创建时间'  >创建时间：</label>
 <input  onkeyup='boOrderLogConsoleGrid.enterToQuery(event);' type='text' class='form-control' id='orderLogCreateTime' name='orderLogCreateTime' placeholder=''>
 </div>
 <div class='form-group col-md-3' style='margin-top: 10px;'>
 <label title='商品id'  >商品id：</label>
 <input  onkeyup='boOrderLogConsoleGrid.enterToQuery(event);' type='text' class='form-control' id='orderId' name='orderId' placeholder=''>
 </div>
 
                        </form>
                    </div>
                </div>
                <div class='row'>
                    <div align="center">
                        <button type='button' class='btn btn-default' id='boOrderLogQuerySearch'>查询</button>
                        <button type='button' class='btn btn-default' id='boOrderLogReset'>重置</button>
                    </div>
                </div>
                     <div class='row'>
                              <div class='col-md-12'>
                                  <table id="boOrderLog" data-toggle="table"
                                         data-url="${ctxPath}/console/bo_order_log/json"
                                         data-pagination="true"
                                         data-query-params="boOrderLogLoadParam"
                                         method="post"
                                         data-side-pagination="server"
                                         data-show-refresh="true"
                                         data-show-toggle="true"
                                         data-pagination-loop="false"
                                         data-show-columns="true"
                                         data-toolbar="#boOrderLogToolbar">
                                      <thead>
                                      <tr>
                                           <th data-checkbox="true"></th>
                                            <th data-field='orderLogId' data-visible='false'>ID</th>
  <th  data-field='orderLogMessage'>日志消息</th>
  <th  data-field='orderLogCreateTime' data-formatter="consoleTableDateFormat">创建时间</th>
  <th  data-field='orderId'>商品id</th>

                                      </tr>
                                      </thead>
                                  </table>
                              </div>
                     </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
     var boOrderLogConsoleGrid =new consoleGrid({table_id:"boOrderLog"});
     boOrderLogConsoleGrid.init();
     function boOrderLogTableOperate(value){
         return "<button type='button' class='btn btn-xs btn-default command-edit' onclick='consoleOpenWindow(\"boOrderLog\",\"${ctxPath}/console/bo_order_log/edit?id="+value+"\",\"编辑\")'><span class='glyphicon glyphicon-pencil'></span></button> ";
     }
    function boOrderLogLoadParam(params){
        params.query=boOrderLogQueryString();

        return params;
    }
     function boOrderLogQueryString() {
         var objQuery = new Object();
                objQuery.orderLogMessage=$('#orderLogMessage').val()==''?null:$('#orderLogMessage').val(); 
     objQuery.orderLogCreateTime=$('#orderLogCreateTime').val()==''?null:$('#orderLogCreateTime').val(); 
     objQuery.orderId=$('#orderId').val()==''?null:$('#orderId').val(); 
 
         var queryString = JSON.stringify(objQuery);
         return queryString;
     }

    
 </script>
<%} %>
 